package com.huazi.eduorder.feginclient;

import com.huazi.commonutils.CourseOrder;
import com.huazi.commonutils.MemberOrder;
import org.springframework.stereotype.Component;

/**
 * @author shkstart
 * @create 2021-03-30 19:27
 */
@Component
public class MemberClientFallback implements MemberClient{
    @Override
    public MemberOrder getMemberOrderInfo(String id) {
        MemberOrder memberOrder = new MemberOrder();
        memberOrder.setAvatar("获取失败").setNickname("服务出错！").setId(null);
        return memberOrder;
    }
}
